﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace DataEntity
{
    public class ExperimentCombinationEntity : INotifyPropertyChanged
    {
        #region PropertyChanged事件
        public event PropertyChangedEventHandler PropertyChanged;

        public void OnPropertyChanged(string PropName)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(PropName));
            }
        }
        #endregion

        private int _ID;
        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        private string  _DataCombination;

        public string  DataCombination
        {
            get { return _DataCombination; }
            set { _DataCombination = value; }
        }

        private DateTime? _CreateDate;

        public DateTime? CreateDate
        {
            get { return _CreateDate; }
            set { _CreateDate = value; }
        }

        private string _IsIng;

        public string IsIng
        {
            get { return _IsIng; }
            set
            {
                if (value != _IsIng)
                {
                    _IsIng = value;
                    this.OnPropertyChanged("IsIng");
                }
            }
        }

        private string _IsFinished;

        public string IsFinished
        {
            get { return _IsFinished; }
            set
            {
                if (_IsFinished != value)
                {
                    _IsFinished = value;
                    this.OnPropertyChanged("IsFinished");
                }
            }
        }

        private int _ProjectID;

        public int ProjectID
        {
            get { return _ProjectID; }
            set { _ProjectID = value; }
        }

        private string _ExperimentType;

        public string ExperimentType
        {
            get { return _ExperimentType; }
            set { _ExperimentType = value; }
        }
        
        
    }
}
